package com.hpdz.hotel_back.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hpdz.hotel_back.entity.Employee;
import com.hpdz.hotel_back.entity.Task;
import com.hpdz.hotel_back.vo.TaskVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface TaskMapper extends BaseMapper<Task> {
    List<TaskVo> selectAllPage(Integer current, Integer size);

    List<TaskVo> selectOnePage(Integer current, Integer size, Employee emp);

}
